<script setup>
import {onMounted} from 'vue';

onMounted(() => {
  // 初始化全局样式
  uni.setStorageSync("cook-color", {hex: "#ff6d70", rgba: "rgba(255,109,112,0.4)"})
})

</script>
<template>
  <view :class="`global-theme-${themeStore.currentTheme}`">
    <slot/>
  </view>
</template>
<style lang="scss">
/*每个页面公共css */
@import "uview-plus/index.scss";
@import "./static/css/theme.scss";
@import "./static/font/font.scss";

page{
  background: #f7f7f7 !important;
  min-height: 90vh !important;
  font-family: XingKai, sans-serif;
  font-size: 32rpx;
}
</style>
